<div class="col-md-12">
    <div class="panel panel-default">
        <div class="panel-heading">
            <form class="form-inline" id="select-form" role="form" method="GET">
                <div class="form-group">
                    <label>时间</label>
                	<input class="form-control filter-option" type="text" id="from-date" placeholder="选择日期" data-filter="fromdate">
		        </div>
                <div class="form-group">
                    <label>至</label>
                    <input class="form-control filter-option" type="text" id="to-date" placeholder="选择日期" data-filter="todate">
                </div>
                <div class="form-group">
                    <label for="filter-device">设备</label>
                    <select class="form-control filter-option" id="filter-device" name="filter-device" data-filter="device">
                        <option value=""></option>
                    	<?php
                            if (isset($device)) {
                                foreach ($device as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                    	?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-supplier">供应商</label>
                    <select class="form-control filter-option" id="filter-supplier" name="filter-supplier" data-filter="supplier">
                        <option value=""></option>
                        <?php
                            if (isset($supplier)) {
                                foreach ($supplier as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-area">软件线路分类</label>
                    <select class="form-control filter-option" id="filter-area" name="filter-area" data-filter="area">
                        <option value=""></option>
                        <?php
                            if (isset($area)) {
                                foreach ($area as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <div class="form-group">
                    <label for="filter-type">软件类型</label>
                    <select class="form-control filter-option" id="filter-type" name="filter-type" data-filter="type">
                        <option value=""></option>
                        <?php
                            if (isset($type)) {
                                foreach ($type as $value) {
                                    echo "<option value='$value'>$value</option>";
                                }
                            }
                        ?>
                    </select>
                </div>
                <a type="submit" class="btn btn-primary" id="filter-submit">确定</a>
                <a class="btn btn-default" id="add-item">新增</a>
            </form>
        </div>
        <div class="panel-body">
            <div class="table-box">
                <table class="table table-bordered table-striped tablesorter" id="version-list">
                    <thead>
                        <th data-attr="id" class="hide"></th>
                        <th data-attr="supplier">软件供应商</th>
                        <th data-attr="device">设备类型</th>
                        <th data-attr="area">软件线路分类</th>
                        <th data-attr="type">软件类型</th>
                        <th data-attr="softname">是否完成下载</th>
                        <th data-attr="beforevision">升级版本前</th>
                        <th data-attr="aftervision">升级版本后</th>
                        <th></th>
                    </thead>
                    <tbody></tbody>
                </table>
            </div>
        </div>
    </div>
</div>

<div class="modal fade" id="dialog-modal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
                <h3 class="modal-title" id="dialog-modal-title"></h3>
            </div>
            <div class="modal-body" id="dialog-modal-body">
            </div>
            <div class="clearfix"></div>
            <div class="modal-footer">
                <button type="button" class="btn btn-default" data-dismiss="modal">取消</button>
                <button type="button" class="btn btn-primary" data-dismiss="modal" id="dialog-submit">确定</button>
            </div>
        </div>
    </div>
</div>